package com.xinghou.platform.dao.mange.service.impl;
import java.util.List;

import javax.annotation.Resource;

import org.springframework.dao.DataAccessException;
import org.springframework.stereotype.Service;

import com.xinghou.platform.dao.mange.UserInfoDAO;
import com.xinghou.platform.dao.mange.service.UserInfoDAOService;
import com.xinghou.platform.model.main.UserInfo;
/**
 * 
 * @author wlw
 *
 */
@Service
public class UserInfoDAOServiceImpl  implements UserInfoDAOService{
	@Resource
	private UserInfoDAO userInfoDAO;

	@Override
	public UserInfo getUserInfoById(Integer uid) throws DataAccessException {
		// TODO Auto-generated method stub
		return userInfoDAO.getUserInfoById(uid);
	}

	@Override
	public List<String> getHeadIdByInfoId(Integer infoid)
			throws DataAccessException {
		// TODO Auto-generated method stub
		return userInfoDAO.getHeadIdByInfoId(infoid);
	}

}
